﻿using System.ComponentModel.DataAnnotations;

namespace ZeroSumZSA.Application.ApplicationServices.Roles.Dto.In;

/// <summary>
///     角色菜单授权模型
/// </summary>
public class GrantRoleMenuDto
{
    /// <summary>
    ///     角色Id
    /// </summary>
    [Required(ErrorMessage = "角色Id不能为空")]
    public long Id { get; set; }

    public List<long>? GrantMenuIdList { get; set; }
}